package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.TbCompany;
import com.ruoyi.system.domain.vo.ColumnQueryVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TbCompanyMapper {
    int save(TbCompany entity);

    void update(TbCompany entity);

    Map<String, Object> selectById(@Param("id") Long id, @Param("tableName") String tableName);

    List<Map> selectList(@Param("queryVos") List<ColumnQueryVo> queryVos, @Param("tableName") String tableName);

    void deleteById(@Param("id") Long id, @Param("tableName") String tableName);
}
